package bdqn.t09.service.impl;

import bdqn.t09.dao.AsAccountMapper;
import bdqn.t09.pojo.AsAccount;
import bdqn.t09.service.AsAccountService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AsAccountServiceImpl implements AsAccountService {

    @Resource
    private AsAccountMapper asAccountMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return asAccountMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AsAccount record) {
        return asAccountMapper.insert(record);
    }

    @Override
    public int insertSelective(AsAccount record) {
        return asAccountMapper.insertSelective(record);
    }

    @Override
    public AsAccount selectByPrimaryKey(Long id) {
        return asAccountMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AsAccount record) {
        return asAccountMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AsAccount record) {
        return asAccountMapper.updateByPrimaryKey(record);
    }
}
